﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TapuKadastro.master" AutoEventWireup="true"
    CodeBehind="SifreDegistir.aspx.cs" Inherits="IKYSWeb.Yetki.SifreDegistir" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH" runat="server">
    <div id="login">
        <label>
            Kullanıcı Adı:<br />
            <asp:TextBox ID="txtKullaniciAdi" runat="server" CssClass="input" ReadOnly="true"></asp:TextBox>
        </label>
        <br />
        <label>
            Geçerli Şifre:<br />
            <asp:TextBox ID="txtSifreEski" runat="server" TextMode="Password" CssClass="input password"></asp:TextBox>
        </label>
        <br />
        <label>
            Yeni Şifre<br />
            <asp:TextBox ID="txtSifreYeni" runat="server" TextMode="Password" CssClass="password_strength input password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvSifreYeni" runat="server" ControlToValidate="txtSifreYeni"
                ErrorMessage="*"></asp:RequiredFieldValidator>
        </label>
        <br />
        <label>
            Yeni Şifre (Tekrar)
            <br />
            <asp:TextBox ID="txtSifreYeni2" runat="server" TextMode="Password" CssClass="input password"></asp:TextBox>
            <asp:CompareValidator ID="cvSifreYeni2" runat="server" ControlToCompare="txtSifreYeni2"
                ControlToValidate="txtSifreYeni" ErrorMessage="Şifre tekrarı girilen şifre ile aynı olmalıdır."></asp:CompareValidator>
        </label>
        <br />
        <label>
            Mail Adresi<br />
            <asp:TextBox ID="txtEPosta" runat="server" CssClass="input"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvMail" runat="server" ControlToValidate="txtEPosta"
                ErrorMessage="*"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="revMail" runat="server" ControlToValidate="txtEPosta"
                ErrorMessage="Mail Hatalı" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </label>
        <p class="submit">
            <asp:Button ID="btnTamam" runat="server" Text="Şifreyi Değiştir" OnClick="btnTamam_Click" />
            <br />
            <asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
        </p>
    </div>
</asp:Content>
